package com.zz.demo.entity.po;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author huazai
 * @since 2022-07-04
 */
@ApiModel(value = "Book对象", description = "")
public class Book implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("书的ID。")
    private String bookID;

    @ApiModelProperty("书籍名称。")
    private String bookName;

    @ApiModelProperty("书籍数量。")
    private Integer bookCounts;

    @ApiModelProperty("书籍描述。")
    private String detail;

    @ApiModelProperty("书籍每借一天的租赁金额。")
    private Double price;

    @ApiModelProperty("书籍的类型。")
    private String bookType;

    @ApiModelProperty("书籍的作者。")
    private String author;

    @ApiModelProperty("书籍的封面，null的话代表没有。")
    private String coverPath;

    public String getBookID() {
        return bookID;
    }

    public void setBookID(String bookID) {
        this.bookID = bookID;
    }
    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }
    public Integer getBookCounts() {
        return bookCounts;
    }

    public void setBookCounts(Integer bookCounts) {
        this.bookCounts = bookCounts;
    }
    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }
    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }
    public String getBookType() {
        return bookType;
    }

    public void setBookType(String bookType) {
        this.bookType = bookType;
    }
    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }
    public String getCoverPath() {
        return coverPath;
    }

    public void setCoverPath(String coverPath) {
        this.coverPath = coverPath;
    }

    @Override
    public String toString() {
        return "Book{" +
            "bookID=" + bookID +
            ", bookName=" + bookName +
            ", bookCounts=" + bookCounts +
            ", detail=" + detail +
            ", price=" + price +
            ", bookType=" + bookType +
            ", author=" + author +
            ", coverPath=" + coverPath +
        "}";
    }
}
